﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ConsultasEjemploCarreraCaballos.Interfaz
{
    public partial class GUIConsultas : Form
    {
        public GUIConsultas()
        {
            InitializeComponent();
        }

        public DateTime DevolverFechaInicio()
        {
            return dateTimePickerInicio.Value.Date;
        }

        public DateTime DevolverFechaFin()
        {
            return dateTimePickerFin.Value.Date;
        }

        public void CargarDataGrid(DataTable TblDatos)
        {
            dtGridEjecutarConsultas.DataSource = TblDatos;
        } 

    }
}
